package com.eurabia.eggchat.service;

import java.util.List;
import com.github.pagehelper.Page;
import com.eurabia.eggchat.pojo.SysEggchatUserValidation;
import com.eurabia.eggchat.pojo.form.SysEggchatUserValidationForm;
import com.eurabia.eggchat.pojo.query.SysEggchatUserValidationQuery;

/**
 * SysEggchatUserValidationService 
 */
public interface SysEggchatUserValidationService {

    /**
     * 查询 SysEggchatUserValidation
     */
    List<SysEggchatUserValidation> find(final SysEggchatUserValidationQuery query);
    
    /**
     * 分页查询 SysEggchatUserValidation
     */
    Page<SysEggchatUserValidation> findByPage(final SysEggchatUserValidationQuery query);

    /**
     * 通过id得到一个 SysEggchatUserValidation
     */
    SysEggchatUserValidation get(final String id);
    
    /**
     * 新增 SysEggchatUserValidation
     */
    void add(final SysEggchatUserValidationForm form);

    /**
     * 修改 SysEggchatUserValidation
     */
    int update(final SysEggchatUserValidationForm form);
    
    /**
     * 删除一个 SysEggchatUserValidation
     */
    int delete(final String id);
	
	/**
     * 修改是否可用
     */
    int changeEnabled(final String id, final Integer enabled);
}